use std::collections::LinkedList;

#[test]
fn test_linked_list(){
    let mut list = LinkedList::new();
    list.push_back(1);
    list.push_back(2);
    list.push_front(0);

    println!("{:?}", list);

    for item in list.iter_mut(){
        *item = 1;
    }

    println!("{:?}", list);

}